{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="js"}
<script src="__STATIC__/plugins/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/images/images.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<form>
<div class="wst-toolbar">
<select id='key' class='ipt'>
    <option value=''>所有目录</option>
    {volist name="$datas" key="i" id='vo'}
    <option value="{$vo['dataVal']}" {if $keyword==$vo['dataVal']}selected{/if}>{$vo['dataName']}</option>
    {/volist}
</select>
<select id='isUse' class='ipt'>
    <option value='-1'>全部</option>
    <option value='1'>有效</option>
    <option value='0'>失效</option>
</select>
</form>
<button class="btn btn-primary" type='button' onclick='javascript:loadGrid(0)'><i class='fa fa-search'></i>查询</button> 
<button class="btn f-right btn-fixtop" type='button' onclick="javascript:history.go(-1)" style='margin-left:10px;'><i class="fa fa-angle-double-left"></i>返回</button>
{if WSTGrant('TPKJ_04')}
<a class="btn btn-danger f-right btn-fixtop" onclick='javascript:toBatchDel()'><i class='fa fa-trash'></i>批量删除</a>
{/if}
</div>
<table id="mmg" class="mmg">
   <tr>
      <th rowspan="" colspan=""></th>
   </tr>
</table>
<div id="pg" style="text-align: right;"></div>
<script>
$(function(){initGrid({$p});})
</script>
{/block}